package com.htfc786.reminder.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName family_member
 */
@TableName(value ="family_member")
@Data
public class FamilyMember implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 家庭id
     */
    private Long familyId;

    /**
     * 成员名称
     */
    private String name;

    /**
     * 用户id（如果有）
     */
    private Long userId;

    /**
     * 是否接受药品不足通知
     */
    private Boolean receiveLowStockNotifications;

    /**
     * 是否接收吃药提醒
     */
    private Boolean receiveUsageReminders;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}